Optimal. Leaf size=167 \[ \frac{x \left (c+d x^3\right )^{q+1} \left (a^2 d^2 \left (9 q^2+33 q+28\right )-2 a b c d (3 q+7)+4 b^2 c^2\right ) \, _2F_1\left (1,q+\frac{4}{3};\frac{4}{3};-\frac{d x^3}{c}\right )}{c d^2 (3 q+4) (3 q+7)}-\frac{b x \left (c+d x^3\right )^{q+1} (4 b c-a d (3 q+10))}{d^2 (3 q+4) (3 q+7)}+\frac{b x \left (a+b x^3\right ) \left (c+d x^3\right )^{q+1}}{d (3 q+7)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.125828, antiderivative size = 176, normalized size of antiderivative = 1.05, number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21, Rules used = {416, 388, 246, 245} \[ \frac{x \left (c+d x^3\right )^q \left (\frac{d x^3}{c}+1\right )^{-q} \left (a^2 d^2 \left (9 q^2+33 q+28\right )-2 a b c d (3 q+7)+4 b^2 c^2\right ) \, _2F_1\left (\frac{1}{3},-q;\frac{4}{3};-\frac{d x^3}{c}\right )}{d^2 (3 q+4) (3 q+7)}-\frac{b x \left (c+d x^3\right )^{q+1} (4 b c-a d (3 q+10))}{d^2 (3 q+4) (3 q+7)}+\frac{b x \left (a+b x^3\right ) \left (c+d x^3\right )^{q+1}}{d (3 q+7)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 416
Rule 388
Rule 246
Rule 245
Rubi steps
\begin{align*} \int \left (a+b x^3\right )^2 \left (c+d x^3\right )^q \, dx &=\frac{b x \left (a+b x^3\right ) \left (c+d x^3\right )^{1+q}}{d (7+3 q)}+\frac{\int \left (c+d x^3\right )^q \left (-a (b c-a d (7+3 q))-b (4 b c-a d (10+3 q)) x^3\right ) \, dx}{d (7+3 q)}\\ &=-\frac{b (4 b c-a d (10+3 q)) x \left (c+d x^3\right )^{1+q}}{d^2 (4+3 q) (7+3 q)}+\frac{b x \left (a+b x^3\right ) \left (c+d x^3\right )^{1+q}}{d (7+3 q)}+\frac{\left (4 b^2 c^2-2 a b c d (7+3 q)+a^2 d^2 \left (28+33 q+9 q^2\right )\right ) \int \left (c+d x^3\right )^q \, dx}{d^2 (4+3 q) (7+3 q)}\\ &=-\frac{b (4 b c-a d (10+3 q)) x \left (c+d x^3\right )^{1+q}}{d^2 (4+3 q) (7+3 q)}+\frac{b x \left (a+b x^3\right ) \left (c+d x^3\right )^{1+q}}{d (7+3 q)}+\frac{\left (\left (4 b^2 c^2-2 a b c d (7+3 q)+a^2 d^2 \left (28+33 q+9 q^2\right )\right ) \left (c+d x^3\right )^q \left (1+\frac{d x^3}{c}\right )^{-q}\right ) \int \left (1+\frac{d x^3}{c}\right )^q \, dx}{d^2 (4+3 q) (7+3 q)}\\ &=-\frac{b (4 b c-a d (10+3 q)) x \left (c+d x^3\right )^{1+q}}{d^2 (4+3 q) (7+3 q)}+\frac{b x \left (a+b x^3\right ) \left (c+d x^3\right )^{1+q}}{d (7+3 q)}+\frac{\left (4 b^2 c^2-2 a b c d (7+3 q)+a^2 d^2 \left (28+33 q+9 q^2\right )\right ) x \left (c+d x^3\right )^q \left (1+\frac{d x^3}{c}\right )^{-q} \, _2F_1\left (\frac{1}{3},-q;\frac{4}{3};-\frac{d x^3}{c}\right )}{d^2 (4+3 q) (7+3 q)}\\ \end{align*}
Mathematica [A] time = 0.0506743, size = 106, normalized size = 0.63 \[ \frac{1}{14} x \left (c+d x^3\right )^q \left (\frac{d x^3}{c}+1\right )^{-q} \left (14 a^2 \, _2F_1\left (\frac{1}{3},-q;\frac{4}{3};-\frac{d x^3}{c}\right )+b x^3 \left (7 a \, _2F_1\left (\frac{4}{3},-q;\frac{7}{3};-\frac{d x^3}{c}\right )+2 b x^3 \, _2F_1\left (\frac{7}{3},-q;\frac{10}{3};-\frac{d x^3}{c}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.431, size = 0, normalized size = 0. \begin{align*} \int \left ( b{x}^{3}+a \right ) ^{2} \left ( d{x}^{3}+c \right ) ^{q}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{3} + a\right )}^{2}{\left (d x^{3} + c\right )}^{q}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}{\left (d x^{3} + c\right )}^{q}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{3} + a\right )}^{2}{\left (d x^{3} + c\right )}^{q}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]